import { Option } from '@keira/shared/constants';

export const SPELL_DBC_CAST_TIME: Option[] = [
  { value: 1, name: '0' },
  { value: 2, name: '250' },
  { value: 3, name: '500' },
  { value: 4, name: '1000' },
  { value: 5, name: '2000' },
  { value: 6, name: '5000' },
  { value: 7, name: '10000' },
  { value: 8, name: '20000' },
  { value: 9, name: '30000' },
  { value: 10, name: '1000' },
  { value: 11, name: '2000' },
  { value: 12, name: '5000' },
  { value: 13, name: '30000' },
  { value: 14, name: '3000' },
  { value: 15, name: '4000' },
  { value: 16, name: '1500' },
  { value: 17, name: '-1000000' },
  { value: 18, name: '2500' },
  { value: 19, name: '2500' },
  { value: 20, name: '2600' },
  { value: 21, name: '3500' },
  { value: 22, name: '1800' },
  { value: 23, name: '2200' },
  { value: 24, name: '2900' },
  { value: 25, name: '3700' },
  { value: 26, name: '4100' },
  { value: 27, name: '3200' },
  { value: 28, name: '4700' },
  { value: 29, name: '4500' },
  { value: 30, name: '2300' },
  { value: 31, name: '7000' },
  { value: 32, name: '2000' },
  { value: 33, name: '3000' },
  { value: 34, name: '12500' },
  { value: 35, name: '600' },
  { value: 36, name: '25000' },
  { value: 37, name: '45000' },
  { value: 38, name: '50000' },
  { value: 39, name: '1300' },
  { value: 40, name: '300000' },
  { value: 41, name: '1700' },
  { value: 42, name: '2800' },
  { value: 43, name: '750' },
  { value: 44, name: '1600' },
  { value: 45, name: '3800' },
  { value: 46, name: '2700' },
  { value: 47, name: '3100' },
  { value: 48, name: '3400' },
  { value: 49, name: '8000' },
  { value: 50, name: '6000' },
  { value: 51, name: '100' },
  { value: 52, name: '0' },
  { value: 53, name: '15000' },
  { value: 54, name: '12000' },
  { value: 55, name: '-1000000' },
  { value: 56, name: '1100' },
  { value: 57, name: '750' },
  { value: 58, name: '850' },
  { value: 59, name: '900' },
  { value: 60, name: '333' },
  { value: 61, name: '0' },
  { value: 62, name: '19000' },
  { value: 63, name: '1400' },
  { value: 64, name: '14000' },
  { value: 65, name: '9000' },
  { value: 66, name: '0' },
  { value: 67, name: '1250' },
  { value: 68, name: '40000' },
  { value: 69, name: '60000' },
  { value: 70, name: '200' },
];

export const SPELL_DBC_POWER_TYPE: Option[] = [
  { value: 0, name: 'Mana' },
  { value: 1, name: 'Rage' },
  { value: 2, name: 'Focus (Pet)' },
  { value: 3, name: 'Energy' },
  { value: 4, name: 'Happiness' },
  { value: 5, name: 'Runes' },
  { value: 6, name: 'Runic Power' },
  { value: 7, name: 'Steam' },
  { value: 8, name: 'Pyrite' },
  { value: 9, name: 'Heat' },
  { value: 10, name: 'Ooze' },
  { value: 11, name: 'Blood' },
  { value: 12, name: 'Wrath' },
  { value: 13, name: 'Health' },
];

export const SPELL_DBC_CASTER_AURA_STATE: Option[] = [
  { value: 0, name: 'None' },
  { value: 1, name: 'Defense' },
  { value: 2, name: 'Health <= 20%' },
  { value: 3, name: 'Berserking' },
  { value: 4, name: 'Judgement' },
  { value: 5, name: 'Hunter Parry' },
  { value: 6, name: 'Victory Rush' },
  { value: 7, name: 'Unknown 1' },
  { value: 8, name: 'Health <= 35%' },
  { value: 9, name: 'Enrage' },
  { value: 10, name: 'Unknown 2' },
  { value: 11, name: 'Health => 75%' },
];

export const SPELL_DBC_PREVENTION_TYPE: Option[] = [
  { value: 0, name: 'None' },
  { value: 1, name: 'Silence' },
  { value: 2, name: 'Pacify' },
];

export const SPELL_DBC_TARGET_AURA_STATE: Option[] = [
  { value: 0, name: 'None' },
  { value: 1, name: 'Health <= 20%' },
  { value: 2, name: 'Berserking' },
  { value: 3, name: 'Health <= 35%' },
  { value: 4, name: 'Conflagrate' },
  { value: 5, name: 'Swiftmend' },
  { value: 6, name: 'Deadly Poison' },
  { value: 7, name: 'Bleeding' },
];

export const SPELL_DBC_DAMAGE_CLASS: Option[] = [
  { value: 0, name: 'NONE' },
  { value: 1, name: 'MAGIC' },
  { value: 2, name: 'MELEE' },
  { value: 3, name: 'RANGED' },
];
